package top.songxs.gmall.product.rpc.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.songxs.gmall.product.mapper.SkuSaleAttrValueMapper;
import top.songxs.gmall.product.rpc.biz.SkuSaleValuesConcatRpcService;
import top.songxs.gmall.product.vo.AttrValuesVo;

import java.util.List;

@Service
public class SkuSaleValuesConcatRpcServiceImpl implements SkuSaleValuesConcatRpcService {
    @Autowired
    private SkuSaleAttrValueMapper skuSaleAttrValueMapper;
    @Override
    public List<AttrValuesVo> getSkuSaleValues(Long skuId) {
        return skuSaleAttrValueMapper.getSkuSaleValues(skuId);
    }
}
